<?php
declare(strict_types=1);

namespace app\curd\command;

use think\console\command\make\Model;

class Ddm extends Model
{
    protected $type = "Ddm";

    protected function configure()
    {
        parent::configure();
        $this->setName('xcurd:m')
            ->setDescription('生成模型(格式:app@Model) 命名采用驼峰法（首字母大写）');
    }

    protected function getStub(): string
    {
        return __DIR__ . DIRECTORY_SEPARATOR . 'stubs' . DIRECTORY_SEPARATOR . 'model.stub';
    }
}
